package vader.tableStore.entity;

import com.fancy.cc.common.tableStore.annotation.TsField;
import com.fancy.cc.common.tableStore.annotation.TsTable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Vader
 * @date 2021/12/9
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TsTable(name = "content_prod_record")
public class TsDateRecord {

    @TsField(name = "datetime", primaryKey = true)
    private String datetime;

    @TsField(name = "source", primaryKey = true)
    private String source;

    @TsField(name = "id", primaryKey = true)
    private String id;
    /**
     * 商户id
     */
    @TsField(name = "merchant_id")
    private String merchantId;

    /**
     * 用户id
     */
    @TsField(name = "distinct_id")
    private String distinctId;

    /**
     * 事件名称
     */
    @TsField(name = "event")
    private String event;

    /**
     * 事件时间戳
     */
    @TsField(name = "time")
    private String time;

    /**
     * 事件属性
     */
    @TsField(name = "properties")
    private String properties;
}
